Create ImageΒΆ

The create_image() function provides a fresh buffer of pixels to play with. This example creates an image gradient.